Fixed deprecated method calls
minor #9353 [2.3] Removed deprecated calls (WouterJ)

This PR was merged into the 2.3 branch.

Discussion
----------

[2.3] Removed deprecated calls

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

a6562b3 Fixed deprecated method calls
fixed typos
minor #9878 fixed typos (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

fixed typos

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Hope @pborreli is not going to be too jealous about all those typo fixes ;)

Commits
-------

5ff5615 fixed typos