Commit graph

622 commits

Author SHA1 Message Date
netkas
4e174821fc Updated CHANGELOG.md 2024-09-19 14:23:00 -04:00
netkas
c7b007c704 Refactor project constants handling in NccCompiler 2024-09-19 14:17:16 -04:00
netkas
272fc8524e Fixed version filtering and sorting in PackagistRepository 2024-09-19 13:52:20 -04:00
netkas
5e173b7cc0 Fix case sensitivity for "Semver" in paths and package name 2024-09-19 13:45:33 -04:00
netkas
91a25390fa Rename 'semver' directory to 'Semver' in composer package 2024-09-19 13:43:08 -04:00
netkas
bcb26d1eec Updated Composer/Semver to 3.4.3 2024-09-19 13:29:02 -04:00
netkas
1389b61fa2 Add support for runtime constants 2024-09-19 13:16:58 -04:00
netkas
16ad69b9f2 Remove RuntimeInterface.php 2024-09-19 01:02:08 -04:00
netkas
3aedd2d94d Remove ComponentFileExtensions enum 2024-09-19 00:57:52 -04:00
netkas
b2d2a1ea15 Simplify optional type value retrieval 2024-09-19 00:50:00 -04:00
netkas
604e1fd3e7 Update PHP language level to 8.3 2024-09-19 00:41:39 -04:00
netkas
3950655024 Remove PACKAGE_LOCK_VERSION constant from Versions enum 2024-09-19 00:41:31 -04:00
netkas
da8a6fac01 Update repository type handling in verbose output 2024-09-19 00:31:57 -04:00
netkas
943048785d Refactor Console color formatting 2024-09-19 00:19:06 -04:00
netkas
bdcf5160de Update Console color formatting method 2024-09-19 00:17:49 -04:00
netkas
46fd39c51c Improve error messages in Repository configuration 2024-09-18 15:30:44 -04:00
netkas
8e6acbbc70 Handle missing 'file' in stack trace 2024-09-18 15:28:53 -04:00
netkas
3adc1b81fb Improve error handling for compiler extensions 2024-09-18 15:20:04 -04:00
netkas
3160ddfa27 Refactor type handling for CompilerExtensions and RepositoryType 2024-09-18 15:18:07 -04:00
netkas
ae8021bb3a Fix misplacement of accessor in PackageReader declarations 2024-09-18 15:17:53 -04:00
netkas
b6cdb2a78c Add ResolverTest for parseArguments method 2024-09-18 14:07:08 -04:00
netkas
3e8af9c43c Remove max_arguments from parseArguments 2024-09-18 14:05:26 -04:00
netkas
e5ceb9bbf7 Add unit tests for Security class filename sanitization 2024-09-18 14:01:57 -04:00
netkas
bcefb6c56a Add unit tests for Validate utility methods 2024-09-18 13:54:36 -04:00
netkas
3c1286d9c2 Refactor regex pattern for CONSTANT_NAME 2024-09-18 13:54:26 -04:00
netkas
d8247b0760 Remove unused import and redundant scope validation method 2024-09-18 13:54:17 -04:00
netkas
68cfed8a05 Refactor authentication type handling 2024-09-18 13:36:08 -04:00
netkas
04a85900fd Removed unused methods from Validate.php 2024-09-18 13:10:24 -04:00
netkas
836d0f33eb Validate and enforce repository type enum usage 2024-09-18 00:54:12 -04:00
netkas
ffc6588ff9 Refactor component data type handling in setData method. 2024-09-18 00:50:27 -04:00
netkas
0afc45f300 Added ComponentTest.php 2024-09-17 22:17:43 -04:00
netkas
61158ff802 Added PhpUnit configuration 2024-09-17 22:17:41 -04:00
netkas
ad9e406657 Updated .gitignore 2024-09-17 22:17:04 -04:00
netkas
27c79b1170 Refactor Component class to use ComponentDataType enum 2024-09-17 22:16:48 -04:00
netkas
7e224d91b2 Removed todos (for now) 2024-09-17 22:08:55 -04:00
netkas
d0e484631f Refactor ProjectType handling 2024-09-17 22:08:23 -04:00
netkas
1bcfe90bea Updated Symfony/Filesystem from version 6.3.1 to 7.1.2 2024-09-17 19:26:23 -04:00
netkas
e624663f62 Refactor log level checking to enum method 2024-09-17 19:20:18 -04:00
netkas
8b64a48a5f Refactor log level parsing with enum method 2024-09-17 19:14:49 -04:00
netkas
24e67061f1 Added TODO 2024-09-17 15:38:16 -04:00
netkas
6398b2958b Refactor logging level checks to use LogLevel enum directly 2024-09-17 15:35:20 -04:00
netkas
5ea0235515 Update PHP include paths in project configuration 2024-09-17 15:29:54 -04:00
netkas
b291604145 Fix incorrect color formatting in installer output 2024-09-17 15:29:44 -04:00
netkas
714228ad2e Refactor code to improve readability in Resolver.php 2024-09-17 15:29:30 -04:00
netkas
aa65dd73cf Refactor checkLogLevel to correctly utilize LogLevel cases 2024-09-17 15:29:03 -04:00
netkas
dfa6b50299 Bumped version 2024-09-17 15:28:15 -04:00
netkas
8f87541a64 Refactor flag handling to use PackageFlags enum directly
Updated the NccCompiler and PackageWriter classes to utilize the PackageFlags enum directly rather than its values. This improves type safety and code readability, reducing the chances of runtime errors associated with invalid flag values.
2024-09-17 15:10:19 -04:00
6482d06ba2 Fixed Division by zero in PackageManager 2024-09-14 09:08:21 -04:00
9fe2dc48fe Updated CHANGELOG.md 2024-09-14 09:03:15 -04:00
039147c8a8 Convert ComponentFlags constants to enum cases 2024-09-14 08:58:26 -04:00