Skip to content

Commit

Permalink
[#14858] - Corrected and added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Mar 5, 2020
1 parent 7336b7d commit c2f4eac
Show file tree
Hide file tree
Showing 125 changed files with 440 additions and 362 deletions.
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Acl/TestComponentAware.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Acl;

use Phalcon\Acl\ComponentAware;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Acl/TestRoleAware.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Acl;

use Phalcon\Acl\RoleAware;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Acl/TestRoleComponentAware.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Acl;

use Phalcon\Acl\ComponentAware;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Annotations/TestClassNs.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace User;

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Assets/CustomTag.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Assets;

class CustomTag extends \Phalcon\Tag
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Assets/TrimFilter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Assets;

use Phalcon\Assets\FilterInterface;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Assets/UppercaseFilter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Assets;

use Phalcon\Assets\FilterInterface;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Cache/Adapter/Libmemcached.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Cache\Adapter;

use Phalcon\Cache\Adapter\Libmemcached as CacheLibmemcached;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Db/Profiler.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Db;

use Phalcon\Db\Profiler as PhalconProfiler;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Db/ProfilerListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Db;

class ProfilerListener
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Dump/ClassProperties.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Dump;

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Events/ComponentX.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Events;

use Phalcon\Events\Manager;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Events/ComponentY.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Events;

use Phalcon\Events\Manager;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Filter/Sanitize/IPv4.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Filter\Sanitize;

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Forms/ContactFormPublicProperties.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Forms;

class ContactFormPublicProperties
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Forms/ContactFormSettersGetters.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Forms;

class ContactFormSettersGetters
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Forms/SetActionForm.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Forms;

use Phalcon\Forms\Form;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Forms/ValidationForm.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Forms;

use Phalcon\Forms\Element\Email;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Helper/JsonFixture.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Helper;

use JsonSerializable;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Helpers/TagHelper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Helpers;

use UnitTester;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Helpers/TagSetup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Helpers;

use Phalcon\Tag;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Helpers/TranslateCsvHelper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Helpers;

use Codeception\Example;
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/Helpers/TranslateGettextHelper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of the Phalcon Framework.
*
Expand All @@ -11,6 +9,8 @@
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\Helpers;

use Codeception\Example;
Expand Down
Loading

0 comments on commit c2f4eac

Please sign in to comment.