Skip to content

Commit 93b70b5

Browse files
committed
Fix typo in -NoDependencies flag of Install-PhpExtension
1 parent cba67fb commit 93b70b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PhpManager/public/Install-PhpExtension.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
The path of the PHP installation.
2626
If omitted we'll use the one found in the PATH environment variable.
2727
28-
.Parameter NoDependncies
28+
.Parameter NoDependencies
2929
Skip the installation of extension dependencies (youl'll have to manually call Install-PhpExtensionPrerequisite before calling Install-PhpExtension).
3030
#>
3131
[OutputType()]
@@ -51,7 +51,7 @@
5151
[ValidateLength(1, [int]::MaxValue)]
5252
[string] $Path,
5353
[switch] $DontEnable,
54-
[switch] $NoDependncies
54+
[switch] $NoDependencies
5555
)
5656
begin {
5757
}
@@ -226,7 +226,7 @@
226226
}
227227
else {
228228
Write-Verbose ("Installing new extension '{0}' version {1}" -f $newExtension.Name, $newExtension.Version)
229-
if (-not($NoDependncies)) {
229+
if (-not($NoDependencies)) {
230230
Install-PhpExtensionPrerequisite -Extension $newExtension.Handle -PhpPath $phpVersion.ActualFolder
231231
}
232232
if ($null -eq $finalDllName) {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Install-PhpExtension imagick -MinimumStability snapshot
264264

265265
Some extensions require additional dependencies (for example `imagick`).
266266
By default, `Install-PhpExtension` automatically installs these dependencies in the directory where PHP is installed.
267-
If you want to install them in another directory, you have to call the `Install-PhpExtensionPrerequisite` command, and specify the `-NoDependncies` option for `Install-PhpExtension`.
267+
If you want to install them in another directory, you have to call the `Install-PhpExtensionPrerequisite` command, and specify the `-NoDependencies` option for `Install-PhpExtension`.
268268

269269
PS: `Install-PhpExtension` can also be used to upgrade (or downgrade) a PHP extension to the most recent version available online.
270270

0 commit comments

Comments
 (0)