Skip to content

Commit

Permalink
Merge pull request #201 from froschdesign/hotfix/docs/wrong-links
Browse files Browse the repository at this point in the history
Fix broken links in migration guide and update relative links
  • Loading branch information
gsteel authored Nov 21, 2024
2 parents 5f964f2 + 0820b7b commit 78e83d0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/book/v2/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $filter->setKey('--our-super-secret-key--');
$filter->filter($files['my-upload']);
```

Check the [Encrypt and Decrypt filter documentation](/laminas-filter/standard-filters/#encrypt-and-decrypt)
Check the [Encrypt and Decrypt filter documentation](standard-filters.md#encrypt-and-decrypt)
for more information about options and adapters.

## Lowercase
Expand Down Expand Up @@ -125,7 +125,7 @@ $filter->filter($files['my-upload']);
```

The `LowerCase` filter extends from the `StringToLower` filter; read the
[`StringToLower` documentation](/laminas-filter/standard-filters/#stringtolower)
[`StringToLower` documentation](standard-filters.md#stringtolower)
for more information about encoding and its exceptions.

## Rename
Expand Down
2 changes: 1 addition & 1 deletion docs/book/v3/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $filter->filter($files['my-upload']);
```

The `LowerCase` filter extends from the `StringToLower` filter; read the
[`StringToLower` documentation](/laminas-filter/standard-filters/#stringtolower)
[`StringToLower` documentation](standard-filters.md#stringtolower)
for more information about encoding and its exceptions.

## Rename
Expand Down
18 changes: 9 additions & 9 deletions docs/book/v3/migration/v2-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The following methods have been removed:
- `setSeparator`
- `getSeparator`

The constructor now only accepts an associative array of [documented options](../word.md#camelCaseToDash).
The constructor now only accepts an associative array of [documented options](../word.md#camelcasetodash).

The filter will now treat numbers as a word boundary.
For example `ThisHas4Words` will filter to `This-Has-4-Words`
Expand All @@ -73,7 +73,7 @@ The following methods have been removed:
- `setSeparator`
- `getSeparator`

The constructor now only accepts an associative array of [documented options](../word.md#camelCaseToSeparator).
The constructor now only accepts an associative array of [documented options](../word.md#camelcasetoseparator).

The filter will now treat numbers as a word boundary.
For example `ThisHas4Words` with the default separator will filter to `This Has 4 Words`
Expand All @@ -88,7 +88,7 @@ The following methods have been removed:
- `setSeparator`
- `getSeparator`

The constructor now only accepts an associative array of [documented options](../word.md#camelCaseToUnderscore).
The constructor now only accepts an associative array of [documented options](../word.md#camelcasetounderscore).

The filter will now treat numbers as a word boundary.
For example `ThisHas4Words` will filter to `This_Has_4_Words`
Expand All @@ -103,7 +103,7 @@ The following methods have been removed:
- `setSeparator`
- `getSeparator`

The constructor now only accepts an associative array of [documented options](../word.md#dashToSeparator).
The constructor now only accepts an associative array of [documented options](../word.md#dashtoseparator).

#### `DenyList`

Expand Down Expand Up @@ -138,7 +138,7 @@ The following methods have been removed:
- `setExists`
- `getExists`

The constructor now only accepts an associative array of [documented options](../standard-filters.md#realPath).
The constructor now only accepts an associative array of [documented options](../standard-filters.md#realpath).

`false` is no longer returned when the path must exist and does not.
Instead, the original value is returned.
Expand All @@ -150,11 +150,11 @@ Which in some cases may now need a custom filter to handle Windows specific issu

#### `SeparatorToCamelCase`

The constructor now only accepts an associative array of [documented options](../word.md#separatorToCamelCase).
The constructor now only accepts an associative array of [documented options](../word.md#separatortocamelcase).

#### `SeparatorToDash`

The constructor now only accepts an associative array of [documented options](../word.md#separatorToDash).
The constructor now only accepts an associative array of [documented options](../word.md#separatortodash).

#### `SeparatorToSeparator`

Expand All @@ -165,7 +165,7 @@ The following methods have been removed:
- `setReplacementSeparator`
- `getReplacementSeparator`

The constructor now only accepts an associative array of [documented options](../word.md#separatorToSeparator).
The constructor now only accepts an associative array of [documented options](../word.md#separatortoseparator).

#### `StringPrefix`

Expand Down Expand Up @@ -215,7 +215,7 @@ The constructor now only accepts an associative array of [documented options](..

#### `UnderscoreToSeparator`

The constructor now only accepts an associative array of [documented options](../standard-filters.md#underscoreToSeparator).
The constructor now only accepts an associative array of [documented options](../word.md#underscoretoseparator).

## Removed Filters

Expand Down

0 comments on commit 78e83d0

Please sign in to comment.