Skip to content

Commit f427e0a

Browse files
authored
Merge pull request #1085 from cakephp/phpstan
Fix phpstan issues
1 parent 8464e0f commit f427e0a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd">
99
<php>
1010
<ini name="memory_limit" value="-1"/>
11-
<ini name="apc.enable_cli" value="1"/>
1211
</php>
1312

1413
<!-- Add any additional test suites you want to run here -->

src/Application.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ public function bootstrap(): void
5151
parent::bootstrap();
5252

5353
// By default, does not allow fallback classes.
54-
FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(false));
54+
FactoryLocator::add(
55+
'Table',
56+
(new TableLocator())->allowFallbackClass(false), // @phpstan-ignore argument.type
57+
);
5558
}
5659

5760
/**

src/View/AppView.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* Your application's default view class
2424
*
2525
* @link https://book.cakephp.org/5/en/views.html#the-app-view
26-
* @extends \Cake\View\View<\App\View\AppView>
2726
*/
2827
class AppView extends View
2928
{

0 commit comments

Comments
 (0)