Merge pull request #1889 from markstory/cakephp38

Add cakephp3.8 target and fix a typo
This commit is contained in:
Tomáš Votruba 2019-08-24 10:43:32 +02:00 committed by GitHub
commit 888a9ce4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# source: https://book.cakephp.org/3.next/en/appendices/3-6-migration-guide.html
# source: https://book.cakephp.org/3.0/en/appendices/3-6-migration-guide.html
services:
Rector\Rector\MethodCall\RenameMethodRector:

View File

@ -1,4 +1,4 @@
# source: https://book.cakephp.org/3.next/en/appendices/3-7-migration-guide.html
# source: https://book.cakephp.org/3.0/en/appendices/3-7-migration-guide.html
services:
Rector\Rector\MethodCall\RenameMethodRector:

View File

@ -0,0 +1,6 @@
# source: https://book.cakephp.org/3.0/en/appendices/3-8-migration-guide.html
services:
Rector\Rector\MethodCall\RenameMethodRector:
Cake\ORM\Entity:
'visibleProperties': 'getVisible'

View File

@ -26,7 +26,7 @@ final class MethodCallToAnotherMethodCallWithArgumentsRector extends AbstractRec
public function getDefinition(): RectorDefinition
{
return new RectorDefinition('Turns old method call with specfici type to new one with arguments', [
return new RectorDefinition('Turns old method call with specific types to new one with arguments', [
new ConfiguredCodeSample(
<<<'CODE_SAMPLE'
$serviceDefinition = new Nette\DI\ServiceDefinition;