64 Commits

Author SHA1 Message Date
Zach Borboa 202e857e85 Drop support for PHP 7.4 (#937) 2025-03-24 19:45:12 -04:00
Zach Borboa a64fad2a9d Fix psalm install error on future php releases (#930)
* Skip running psalm on future PHP releases

* Clean up indentation
2025-03-08 09:18:08 -05:00
Zach Borboa ece27e4dba Lift restriction on Psalm version (#922) 2025-02-17 22:09:30 -05:00
Zach Borboa fd902b4b7c Fix CI (PHPUnit) (#918)
* Add shims for PHPUnit

* Fix PHPUnit error: undefined method returnValue()

1) CurlTest\PHPCurlClassTest::testMock
Error: Call to undefined method CurlTest\PHPCurlClassTest::returnValue()

* Fix PHPUnit risky test by restoring error handler before exception thrown

There was 1 risky test:

1) CurlTest\PHPCurlClassTest::testRequiredOptionCurlOptReturnTransferEmitsWarningPHPUnit10Plus
Test code or tested code did not remove its own error handlers

* Fix psalm errors

* Add attributes for version constraint

* Temporarily pin psalm to fix ci
2025-02-17 18:24:42 -05:00
Zach Borboa 8259795c46 Fix CI tests (psalm) (#913)
* Display psalm version being run

* Update exclusions

* Use separate configuration for PHP 7.4

* Remove temporary workaround
2025-01-26 19:22:36 -05:00
Zach Borboa ffda7c386a Add PHPStan for static analysis (#905) 2025-01-10 17:47:54 -05:00
Zach Borboa a041ac97db Add PHP 8.4 as supported (#900)
* Add PHP 8.4 as supported

* Add temporary workaround that manually install psalm on currently supported versions
2024-12-04 09:39:33 -05:00
dependabot[bot] 95e9033a52 Update vimeo/psalm requirement from >=5.26.0 to >=5.26.1
Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/5.26.0...5.26.1)

---
updated-dependencies:
- dependency-name: vimeo/psalm
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 09:24:19 +00:00
dependabot[bot] 6bdaf9b5f9 Update vimeo/psalm requirement from >=5.25.0 to >=5.26.0
Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/5.25.0...5.26.0)

---
updated-dependencies:
- dependency-name: vimeo/psalm
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 09:55:08 +00:00
dependabot[bot] 6ed4c65eff Update vimeo/psalm requirement from >=0.3.63 to >=5.25.0 (#876)
Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/0.3.63...5.25.0)

---
updated-dependencies:
- dependency-name: vimeo/psalm
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 03:23:11 +00:00
Zach Borboa c808484e5b Drop support for PHP 7.3 (#889) 2024-08-21 22:56:50 -04:00
Zach Borboa 10ea095b5d Drop support for PHP 7.2 (#888) 2024-08-21 22:27:45 -04:00
Zach Borboa d6ffbcfb44 Drop support for PHP 7.1 (#887) 2024-08-21 21:40:39 -04:00
Zach Borboa fc52d8db51 Bump min psalm version (#879) 2024-08-17 09:45:18 -04:00
Zach Borboa 63bddcd230 Drop support for PHP 7.0 (#880) 2024-08-17 09:15:46 -04:00
Zach Borboa f87653becf Specify version for vimeo/psalm (#850)
* Specify version for vimeo/psalm

For some reason an old version (0.3.14) for vimeo/psalm was being
installed for PHP 8.2 and PHP 8.3.

* Use last known working version for PHP 7.0
2024-02-25 19:26:50 -05:00
Zach Borboa 62163d3822 Include contributors as authors 2023-07-01 03:52:24 -07:00
Zach Borboa 128a0c1ea2 Add PHP-CS-Fixer to check for unused imports 2023-06-24 19:33:48 -07:00
Zach Borboa 4ed7644250 Update tests to work with PHPUnit 10 2023-02-17 19:31:41 -08:00
Zach Borboa f1ac3a6e38 Allow plugin for phpcodesniffer 2022-09-23 09:44:54 -07:00
Zach Borboa 5bbdbe594a Allow plugin needed for squizlabs/php_codesniffer
$ composer require --dev dealerdirect/phpcodesniffer-composer-installer
2022-09-23 09:33:04 -07:00
Zach Borboa 6ce21bb755 Update PHPCompatibility
Comment out installed_paths config to fix error:

    $ ./tests/check_coding_standards.sh
    PHP_CodeSniffer version 3.7.1 (stable) by Squiz (http://www.squiz.net)
    ERROR: Referenced sniff "PHPCS23Utils" does not exist

    Run "phpcs --help" for usage information

    Error: found standard violation(s)
2022-09-23 07:59:39 -07:00
Zach Borboa 5087a6b6d8 Add static analysis checks to continuous integration 2021-11-25 19:32:50 -05:00
Zach Borboa bd85374938 Add PHPCompatibility ruleset to coding standards check 2021-09-21 15:28:48 -04:00
Zach Borboa cc3f7bac24 Remove PHP v5.x support and add basic doc for how one may install the old version 2021-03-17 12:19:38 -04:00
Jared Spencer f00f7988d3 adjusted where ext-mbstring is suggested
will use mbstring if extn installed
2018-12-18 17:49:18 -07:00
Zach Borboa e08391bb4a Limit keywords to 20 2018-08-06 08:37:15 -07:00
Zach Borboa c102e6288a Update keywords 2018-08-06 08:25:36 -07:00
Zach Borboa 130f2df23d Update keywords 2018-08-06 08:22:09 -07:00
Zach Borboa 79dce964d1 Move extension to require-dev as it is only needed for running tests 2018-06-04 23:00:23 -07:00
Reza Sanaie 9f34c2bf57 Allow support for curl_reset() 2018-06-04 10:21:22 -07:00
Zach Borboa fa39f26a3a Fix #517: Require mbstring extension.
Use global namespace for mb_* functions.
2018-04-28 16:21:15 -07:00
Zach Borboa c934f2252c Improve description 2016-12-04 02:50:54 -08:00
Zach Borboa 90560e5d9c Add phpcs to require-dev 2016-09-03 22:53:04 -07:00
Sebastian Wasser 06901150a7 Fixed PSR-4 autoloading 2015-09-07 17:36:43 +02:00
Zach Borboa fad3524fad Use PSR-4 autoloading 2015-09-03 17:38:45 -07:00
Zach Borboa 6b828a65a3 Fix #215: Remove version line from composer.json 2015-07-30 22:34:21 -07:00
Zach Borboa f26db010d5 Bump patch version for new release 2015-07-28 17:48:33 -07:00
Zach Borboa d170b11672 Bump patch version 2015-06-25 14:44:11 -07:00
Zach Borboa f33a8c1559 Fix #197: Add method setConnectTimeout() 2015-06-03 17:07:21 -07:00
Zach Borboa 009f05cb31 Bump minor version 2015-04-22 01:26:46 -07:00
Zach Borboa 733601f122 Update composer keywords 2015-04-09 18:03:10 -07:00
Zach Borboa bad2dac813 Bump patch version 2015-04-09 10:33:13 -07:00
Zach Borboa 4f5fa06d99 Bump patch version 2015-04-01 10:56:33 -07:00
Zach Borboa 6a0645e36f Bump minor version 2015-03-03 03:15:01 +07:00
Zach Borboa cfb0011627 Bump minor version (backwards-compatible API changes) 2015-02-25 01:26:41 +07:00
Zach Borboa f6c9162132 Bump minor version (backwards-compatible API changes) 2015-02-22 23:21:55 +07:00
Zach Borboa d559a3d9c2 Bump minor version (backwards-compatible API changes) 2015-02-22 18:34:17 +07:00
Zach Borboa 72f7e09f57 Bump patch version 2015-02-16 16:33:38 +07:00
Zach Borboa 2298e08238 Bump patch version 2015-02-15 00:37:47 +07:00