Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dynamic property warnings #74

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"league/climate": "~3.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "5.x-dev",
"cakephp/cakephp-codesniffer": "^5.0",
"squizlabs/php_codesniffer": "*",
"laminas/laminas-diactoros": "~2.0",
"phpunit/phpunit": "^8.5 | ^9.3"
Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase/AssetCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

class AssetCollectionTest extends TestCase
{
protected $factory;

protected function setUp(): void
{
parent::setUp();
Expand Down
7 changes: 7 additions & 0 deletions tests/TestCase/AssetConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

class AssetConfigTest extends TestCase
{
protected $_testFiles;
protected $extendConfig;
protected $_themeConfig;
protected $timestampConfig;
protected $config;
protected $testConfig;

/**
* setup method
*
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/AssetScannerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class AssetScannerTest extends TestCase
{
protected $_testFiles;
protected $Scanner;

protected function setUp(): void
{
parent::setUp();
Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase/AssetTargetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

class AssetTargetTest extends TestCase
{
protected $target;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Cli/BuildTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

class BuildTaskTest extends TestCase
{
protected $task;
protected $cli;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Cli/ClearTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

class ClearTaskTest extends TestCase
{
protected $task;
protected $cli;

protected function setUp(): void
{
parent::setUp();
Expand Down
8 changes: 8 additions & 0 deletions tests/TestCase/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@

class FactoryTest extends TestCase
{
protected $config;
protected $integrationFile;
protected $themedFile;
protected $pluginFile;
protected $overrideFile;
protected $globFile;
protected $timestampFile;

protected function setUp(): void
{
parent::setUp();
Expand Down
4 changes: 4 additions & 0 deletions tests/TestCase/File/TargetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

class TargetTest extends TestCase
{
protected $compiler;
protected $asset;
protected $target;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/FilterRegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

class FilterRegistryTest extends TestCase
{
protected $filters;
protected $registry;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/HoganTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class HoganTest extends TestCase
{
protected $_path;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase/Filter/ImportInlineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

class ImportInlineTest extends TestCase
{
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/LessCssTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

class LessCssTest extends TestCase
{
protected $_cssDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/PipeInputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

class PipeInputFilterTest extends TestCase
{
protected $_cssDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/PipeOutputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class PipeOutputFilterTest extends TestCase
{
protected $_cssDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/ScssFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

class ScssFilterTest extends TestCase
{
protected $_cssDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/SimpleCssMinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class SimpleCssMinTest extends TestCase
{
protected $_cssDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/Filter/SprocketsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

class SprocketsTest extends TestCase
{
protected $_testPath;
protected $_testFiles;
protected $_jsDir;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Filter/TimestampImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class TimestampImageTest extends TestCase
{
protected $_testPath;
protected $filter;

protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase/Middleware/AssetMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

class AssetMiddlewareTest extends TestCase
{
protected $config;
protected $middleware;

protected function setUp(): void
{
parent::setUp();
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/Output/AssetCacherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

class AssetCacherTest extends TestCase
{
protected $target;
protected $files;
protected $cacher;
protected $themed;

protected function setUp(): void
{
parent::setUp();
Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase/Output/AssetWriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
class AssetWriterTest extends TestCase
{
protected $files = [];
protected $writer;
protected $target;

protected function setUp(): void
{
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/Output/CachedCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

class CachedCompilerTest extends TestCase
{
protected $_testFiles;
protected $_themeConfig;
protected $_pluginConfig;
protected $config;

protected function setUp(): void
{
parent::setUp();
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/Output/CompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

class CompilerTest extends TestCase
{
protected $_testFiles;
protected $_themeConfig;
protected $_pluginConfig;
protected $config;

protected function setUp(): void
{
parent::setUp();
Expand Down
Loading