-
Notifications
You must be signed in to change notification settings - Fork 189
Strict types update #343
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
Draft
Vitexus
wants to merge
16
commits into
envms:master
Choose a base branch
from
VitexSoftware:main
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Strict types update #343
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Converts array values to JSON strings to ensure compatibility with PDO and other components that require scalar values. This change prevents potential issues when handling array data in query parameters and type conversions. Adds support for encoding arrays in the Utilities class, enhancing data handling consistency across the application.
Introduce full support for PHP 8.1+ by leveraging strict typing, union types, and modern features. Update composer dependencies and configuration to align with current PHP standards. Add CI/CD configurations, including testing workflows with PHPUnit and dependency updates via Dependabot. Enhance developer experience with PHP-CS-Fixer, customized IDE settings, and detailed documentation guidelines. Provide funding model instructions and update project metadata to reflect the modernized fork. Includes breaking changes such as raising the minimum PHP version to 8.1 and updating method signatures for type safety.
Introduces initial Debian packaging for FluentPDO, a modernized PHP library requiring PHP 8.1+. Includes metadata, control files, and scripts for building, testing, and distributing the package. Adds Jenkins pipelines for parallel builds and artifact management across multiple distributions, as well as integration with Aptly for publishing. Provides essential documentation, including README files and changelog, and sets up automated CI tests using Salsa CI. Enhances maintainability and distribution readiness for FluentPDO.
Allows the use of alternative PDO drivers (MySQL, PostgreSQL, SQLite, SQL Server) by adding them as options in the dependency list. Improves flexibility for environments where the default PDO driver is unavailable or a specific database backend is preferred.
Add explicit \Traversable return type to Select::getIterator() to match Base::getIterator() signature and comply with PHP 8.1+ requirements.
Check if key is string before calling str_starts_with() to prevent TypeError when array has numeric keys.
Restore elseif clause that was accidentally removed, fixing parse error.
- Updated to use pkg-php-tools for proper Debian PHP packaging
- Added autoload.php with PSR-4 autoloader
- Added pkg-php-tools autoloader mapping
- Removed composer.json from installed package (not needed)
- Removed composer-global-update from postinst
- Simplified debian/rules with --with phpcomposer
- Dependencies auto-detected via ${phpcomposer:Debian-require}
- Package structure now matches Debian PHP policy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.