Skip to content

Commit

Permalink
CS: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Mar 4, 2024
1 parent df12600 commit 11901ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions class.cast-to-type-php4.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
*
* File: class.cast-to-type-php4.php
*
* Selective PHPCS exclusion: this file is only supposed to be loaded in PHP 4.
* In PHP 4, scope modifiers did not exist yet.
* @phpcs:disable Squiz.Scope.MethodScope
*
* @package CastToType
* @version 2.1.0
* @link https://github.com/jrfnl/PHP-cast-to-type
Expand All @@ -19,10 +23,6 @@
* @copyright (c) 2006-2022, Advies en zo, Meedenken en -doen <casttotype@adviesenzo.nl> All rights reserved.
* @license http://www.opensource.org/licenses/lgpl-license.php GNU Lesser General Public License.
* @since 1.0
*
* Selective PHPCS exclusion: this file is only supposed to be loaded in PHP 4.
* In PHP 4, scope modifiers did not exist yet.
* @phpcs:disable Squiz.Scope.MethodScope
*/

if ( ! class_exists( 'CastToType' ) ) {
Expand Down
6 changes: 3 additions & 3 deletions class.cast-to-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
*
* File: class.cast-to-type.php
*
* Selective PHPCS exclusion: this file is only supposed to be loaded in PHP 5+.
* @phpcs:disable PHPCompatibility.Classes.NewClasses.exceptionFound
*
* @package CastToType
* @version 2.1.0
* @link https://github.com/jrfnl/PHP-cast-to-type
Expand All @@ -19,9 +22,6 @@
* @copyright (c) 2006-2022, Advies en zo, Meedenken en -doen <casttotype@adviesenzo.nl> All rights reserved.
* @license http://www.opensource.org/licenses/lgpl-license.php GNU Lesser General Public License.
* @since 1.0
*
* Selective PHPCS exclusion: this file is only supposed to be loaded in PHP 5+.
* @phpcs:disable PHPCompatibility.Classes.NewClasses.exceptionFound
*/

if ( ! class_exists( 'CastToType' ) ) {
Expand Down

0 comments on commit 11901ed

Please sign in to comment.