Support of update in tables without updated column #12
Annotations
10 errors and 1 warning
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L233
* [Disallow equal operators] Operator != is disallowed, use !== instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L196
* [Disallow equal operators] Operator != is disallowed, use !== instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L186
* [Disallow equal operators] Operator != is disallowed, use !== instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L97
* [Disallow equal operators] Operator == is disallowed, use === instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L328
* [Unused variable] Unused variable $language.
* [Function call argument spacing] Expected 1 space after comma in argument list; 2 found
* [Short list] list(...) is forbidden, use [...] instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L223
* [Unused variable] Unused variable $language.
* [Short list] list(...) is forbidden, use [...] instead.
|
|
PHP-Insights:
lib/Skeleton/Object/Model.php#L19
* [Forbidden public property] Do not use public properties. Use method access instead.
* [Property type hint] Property \Skeleton\Object\Model::$id does not have native type hint for its value but it should be possible to add it based on @var annotation "int".
|
|
PHP-Insights:
lib/Skeleton/Object/Config.php#L1
* [Declare strict types] Missing declare(strict_types=1).
* [Braces] @@ -2,21 +2,20 @@
/**
* Config class
* Configuration for Skeleton\Object
*
* @author David Vandemaele <[email protected]>
*/
namespace Skeleton\Object;
class Config {
-
/**
* Caching backend handler
*
* @access public
* @var string $classname
*/
public static $cache_handler = false;
/**
* Caching backend config
@@ -18,12 +17,11 @@
*/
public static $cache_handler = false;
/**
* Caching backend config
*
* @access public
* @var string $classname
*/
public static $cache_handler_config = [];
-
}
* [No blank lines after class opening] @@ -2,21 +2,20 @@
/**
* Config class
* Configuration for Skeleton\Object
*
* @author David Vandemaele <[email protected]>
*/
namespace Skeleton\Object;
class Config {
-
/**
* Caching backend handler
*
* @access public
* @var string $classname
*/
public static $cache_handler = false;
/**
* Caching backend config
|
|
PHP-Insights:
lib/Skeleton/Object/Config.php#L27
* [Forbidden public property] Do not use public properties. Use method access instead.
* [Property type hint] Property \Skeleton\Object\Config::$cache_handler_config does not have native type hint for its value but it should be possible to add it based on @var annotation "string".
|
|
PHP-Insights:
lib/Skeleton/Object/Config.php#L19
* [Forbidden public property] Do not use public properties. Use method access instead.
* [Property type hint] Property \Skeleton\Object\Config::$cache_handler does not have native type hint for its value but it should be possible to add it based on @var annotation "string".
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
Loading