Skip to content

Conversation

@Vitexus
Copy link

@Vitexus Vitexus commented Nov 20, 2024

No description provided.

Vitexus and others added 16 commits November 20, 2024 23:20
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

Labels

None yet

1 participant