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

Ported the main app to Flight #88

Merged
merged 7 commits into from
Apr 20, 2024
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
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
->in(__DIR__)
->exclude([
'src/Vendor',
'src/Cache',
])
;

Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"elgigi/commonmark-emoji": "^2.0",
"embed/embed": "^4.4",
"flightphp/core": "^3.8",
"hostbybelle/compressionbuffer": "^1.0",
"league/commonmark": "^2.3",
"nyholm/psr7": "^1.8",
"shapecode/twig-string-loader": "^1.1",
Expand All @@ -22,6 +23,9 @@
"symfony/yaml": "^6.0",
"twig/twig": "^3.5"
},
"replace": {
"symfony/polyfill-mbstring": "*"
},
"authors": [
{
"name": "Belle Aerni",
Expand Down
187 changes: 106 additions & 81 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
analyse:
- src/Vendor
- src/Cache
- src/AntCMS/AntKeywords.php
- src/Plugins
ignoreErrors:
- '#^Call to an undefined method AntCMS\\AntCache\:\:get\(\)\.$#'
- '#^Call to an undefined method AntCMS\\AntCache\:\:purge\(\)\.$#'
- '#^Call to an undefined method AntCMS\\Cache\:\:get\(\)\.$#'
- '#^Call to an undefined method AntCMS\\Cache\:\:purge\(\)\.$#'
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# AntCMS

AntCMS is being largely rebuilt for better, faser, easier functionality.
AntCMS is being largely rebuilt for better, faser, easier functionality.

## Differences between "new" and "main"

- The main app now uses Flight for routing
- Optimizations
- Much improved code stylining and code quality
- Plugins do not yet work as they need to be rebuilt
- AntCMS will automatically perform brotli, zstd, and gzip output compression as long as related extensions are installed
1 change: 1 addition & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
__DIR__ . '/tests',
])
->withSkipPath(__DIR__ . '/src/Vendor')
->withSkipPath(__DIR__ . '/src/Cache')
->withDeadCodeLevel(42)
->withTypeCoverageLevel(37)
->withPhpSets();
Loading