Skip to content

Commit

Permalink
Merge pull request #6 from evosys21/feature/qa
Browse files Browse the repository at this point in the history
Feature/qa
  • Loading branch information
klodoma authored Oct 25, 2024
2 parents 74db92b + b548b22 commit 97f6152
Show file tree
Hide file tree
Showing 122 changed files with 1,557 additions and 824 deletions.
8 changes: 8 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<ruleset name="MyProject">
<rule ref="PSR12"/>
<file>dev/</file>
<file>examples/</file>
<file>src/</file>
<file>tests/</file>
</ruleset>
12 changes: 2 additions & 10 deletions autoload.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

if (!defined('APP_PATH')) {
define('APP_PATH', __DIR__);
}

if (!defined('CONTENT_PATH')) {
define('CONTENT_PATH', __DIR__ . '/examples/content');
}

defined('APP_PATH') || define('APP_PATH', realpath(__DIR__ ));
defined('CONTENT_PATH') || define('CONTENT_PATH', realpath(__DIR__ . '/examples/content'));
require_once 'vendor/autoload.php';


5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
"phpmetrics/phpmetrics": "^2.4",
"vlucas/phpdotenv": "^4.1",
"ext-fileinfo": "*",
"symfony/process": "^5.3"
"symfony/process": "^5.3",
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "^1.12",
"phpmd/phpmd": "^2.15"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 97f6152

Please sign in to comment.