setup-php 2.31.0 → 2.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "setup-php",
3
- "version": "2.31.0",
3
+ "version": "2.31.1",
4
4
  "private": false,
5
5
  "description": "Setup PHP for use with GitHub Actions",
6
6
  "main": "lib/install.js",
@@ -41,9 +41,9 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/jest": "^29.5.12",
44
- "@types/node": "^20.14.8",
45
- "@typescript-eslint/eslint-plugin": "^7.13.1",
46
- "@typescript-eslint/parser": "^7.13.1",
44
+ "@types/node": "^20.14.10",
45
+ "@typescript-eslint/eslint-plugin": "^7.15.0",
46
+ "@typescript-eslint/parser": "^7.15.0",
47
47
  "@vercel/ncc": "^0.38.1",
48
48
  "eslint": "^8.57.0",
49
49
  "eslint-config-prettier": "^9.1.0",
@@ -56,7 +56,7 @@
56
56
  "prettier": "^3.3.2",
57
57
  "simple-git-hooks": "^2.11.1",
58
58
  "ts-jest": "^29.1.5",
59
- "typescript": "^5.5.2"
59
+ "typescript": "^5.5.3"
60
60
  },
61
61
  "bugs": {
62
62
  "url": "https://github.com/shivammathur/setup-php/issues"
@@ -100,7 +100,7 @@ Function Add-Extension {
100
100
  $stability = 'stable',
101
101
  [Parameter(Position = 2, Mandatory = $false)]
102
102
  [ValidateNotNull()]
103
- [ValidatePattern('^\d+(\.\d+){0,2}$')]
103
+ [ValidatePattern('^\d+(\.\d+){0,3}$')]
104
104
  [string]
105
105
  $extension_version = ''
106
106
  )
@@ -257,4 +257,4 @@ Function Disable-AllShared() {
257
257
  # Function to handle request to add PECL.
258
258
  Function Add-Pecl() {
259
259
  Add-Log $tick "PECL" "Use extensions input to setup PECL extensions on windows"
260
- }
260
+ }
@@ -26,6 +26,8 @@ add_ioncube() {
26
26
  sudo cp /tmp/ioncube/LICENSE.txt "$ext_dir"/IONCUBE_LICENSE.txt
27
27
  echo "zend_extension=$ext_dir/ioncube.so" | sudo tee "${scan_dir:?}/00-ioncube.ini" >/dev/null 2>&1
28
28
  fi
29
+ else
30
+ echo "zend_extension=$ext_dir/ioncube.so" | sudo tee "${scan_dir:?}/00-ioncube.ini" >/dev/null 2>&1
29
31
  fi
30
32
  add_extension_log "ioncube" "$status"
31
33
  check_extension "ioncube" && add_license_log