# |
Apr 5th 2019, 14:45 |
dereuromark |
depends on the issue. i usually only have trouble with DST and 1 hour offsets, or leap seconds etc |
# |
Apr 5th 2019, 14:45 |
ricksaccous |
what was the deal with the allowEmpty methods are those being replaced in 3.8? |
# |
Apr 5th 2019, 14:43 |
neon1024 |
I must be writing fragile tests I suppose |
# |
Apr 5th 2019, 14:43 |
neon1024 |
I don’t mind writing tests, but all too often, I write it and it works, and when I run it say a week later, everything is broken |
# |
Apr 5th 2019, 14:38 |
neon1024 |
:,( |
# |
Apr 5th 2019, 14:38 |
neon1024 |
ERRORS! Tests: 63, Assertions: 23, Errors: 52, Failures: 1. |
# |
Apr 5th 2019, 14:37 |
dereuromark |
LOL |
# |
Apr 5th 2019, 14:37 |
neon1024 |
Although it’s not looking good |
# |
Apr 5th 2019, 14:36 |
neon1024 |
Done it with 3 passes of the regex :s |
# |
Apr 5th 2019, 14:35 |
dereuromark |
My Upgrade tool should do fixtures |
# |
Apr 5th 2019, 14:32 |
ricksaccous |
i'm a pleb that just bakes a new fixture and replaces the parts of the older fixture besides the data |
# |
Apr 5th 2019, 14:28 |
neon1024 |
Kinda where I’m at https://regex101.com/r/G5CJtQ/2 |
# |
Apr 5th 2019, 14:26 |
neon1024 |
> Deprecated Error: Declaring fixtures in underscored format in TestCase::$fixtures is deprecated. |
# |
Apr 5th 2019, 14:26 |
neon1024 |
Does anyone have a search and replace regex for fixing the fixtures? |
# |
Apr 5th 2019, 14:21 |
neon1024 |
So it seems rector ^0.4.4 doesn’t like phpunit ^6 |
# |
Apr 5th 2019, 14:09 |
ricksaccous |
lolll |
# |
Apr 5th 2019, 14:09 |
ricksaccous |
it's a catch 22! |
# |
Apr 5th 2019, 14:08 |
neon1024 |
GGWP Composer |
# |
Apr 5th 2019, 14:08 |
slackebot2 |
<neon1024> |
# |
Apr 5th 2019, 14:07 |
ricksaccous |
snuck some in |
# |
Apr 5th 2019, 14:07 |
ricksaccous |
my org doesn't use test cases, heh, although i wrote a few in one project |
# |
Apr 5th 2019, 14:07 |
neon1024 |
:man-shrugging: |
# |
Apr 5th 2019, 14:07 |
neon1024 |
> Conclusion: don’t install cakephp/cakephp 3.7.0 |
# |
Apr 5th 2019, 14:05 |
neon1024 |
Kinda frustrating as I have some packages on phpunit 8 and cake on 6 |
# |
Apr 5th 2019, 14:03 |
ricksaccous |
i'd guess the same |
# |
Apr 5th 2019, 14:03 |
neon1024 |
`Cake\TestSuite\TestCase` I presume |
# |
Apr 5th 2019, 14:03 |
neon1024 |
Okay, so the class is deprecated, but what class do you replace it with? The PHP Unit TestCase? |
# |
Apr 5th 2019, 14:02 |
neon1024 |
https://github.com/cakephp/cakephp/blob/master/src/TestSuite/IntegrationTestCase.php#L33 |
# |
Apr 5th 2019, 13:25 |
ricksaccous |
wooo |
# |
Apr 5th 2019, 13:25 |
ricksaccous |
create a PR for the plugin dyud |
# |
Apr 5th 2019, 13:22 |
neon1024 |
It’s not like when 4.0 is released all the plugins will have been updated already anyway, they’ll all need work ;) |
# |
Apr 5th 2019, 13:22 |
neon1024 |
Geez if a plugin maintainer tried to track and update every deprecation in their plugin as they arose! Can you imagine! |
# |
Apr 5th 2019, 13:21 |
neon1024 |
A deprecation is a notice, it’s not broken |
# |
Apr 5th 2019, 13:21 |
neon1024 |
So? |
# |
Apr 5th 2019, 13:05 |
asdfgh |
but it is deprecated |
# |
Apr 5th 2019, 13:05 |
asdfgh |
the library i have found has _registry that look from Cookie component |
# |
Apr 5th 2019, 13:05 |
asdfgh |
i am creating COokieAuthentication |
# |
Apr 5th 2019, 13:04 |
asdfgh |
i need to read cookie |
# |
Apr 5th 2019, 13:04 |
asdfgh |
guys is not possible anymore to access the ServerRequest from an Authenticate custom object? |
# |
Apr 5th 2019, 12:53 |
conehead |
Ah okay thanks. I will give it a shot. ```If you need more customization, use the tags property directly. When saving the tags, they need to be in the normalized form then on patching.``` As I did not need any more customization I thought it would be fine using the line above. A little bit confusing |
# |
Apr 5th 2019, 12:52 |
dereuromark |
But as tags property then afaik. not into tag_list |