Skip to content

Fix typos #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The slic (**S**tellarWP **L**ocal **I**nteractive **C**ontainers) CLI command pr
* [Releasing a new version of `slic`](/CONTRIBUTING.md)


## Gettings started
## Getting started

### Why use `slic`?

Expand Down
8 changes: 4 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated the x86 Chrome container image to version 4.27.0-20241225 from 3.141.59.

# [1.8.0] - 2024-12-04
- Updated the `node` version to `18.17.0`, this affects the `npm` command and any other command usin the `npm` container.
- Updated the `node` version to `18.17.0`, this affects the `npm` command and any other command using the `npm` container.

# [1.7.2] - 2024-08-30
* Fixed - Set the `opcache.revalidate_freq` to `0` in the `slic` and `wordpress` containers to avoid issues with cached files in tests.
Expand Down Expand Up @@ -89,7 +89,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.3.2] - 2023-04-03

* Updates slic-stack.site.yml for full site testing.
* Adds check for `site` target to refrence `slic_wp_dir()` when running commands.
* Adds check for `site` target to reference `slic_wp_dir()` when running commands.

## [1.3.1] - 2023-03-31

Expand Down Expand Up @@ -243,7 +243,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.5.28] - 2021-10-06

- Updated the `node` version to `10.16.0`, this affects the `npm` command and any other command usin the `npm` container.
- Updated the `node` version to `10.16.0`, this affects the `npm` command and any other command using the `npm` container.
- Added the `host-ip` command to get the host machine IP address containers will be able to use to connect to the host (e.g. when setting up XDebug on Linux).

## [0.5.27] - 2021-06-03
Expand Down Expand Up @@ -303,7 +303,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Default to the host machin IP address to set `xdebug.remote_host` only if the host has not been set by means of a call to `tric xdebug host <host>` or by setting the `XDH` environment variable explicitly.
- Fix an issue that would reset run settings stored in the `.env.tric.run` file when using the `tric xdebug <key> <value>` command.
- Correctly handle Docker network removal in parallel tasks to avoid "error while removing network" errors.
- Add support for `tric run` to run all the avaiable Codeception test suites from the target one after another.
- Add support for `tric run` to run all the available Codeception test suites from the target one after another.

## [0.5.15] - 2020-11-24

Expand Down
4 changes: 2 additions & 2 deletions includes/Spyc/Spyc.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ class Spyc {
public $setting_dump_force_quotes = false;

/**
* Setting this to true will forse YAMLLoad to use syck_load function when
* Setting this to true will force YAMLLoad to use syck_load function when
* possible. False by default.
* @var bool
*/
public $setting_use_syck_is_possible = false;

/**
* Setting this to true will forse YAMLLoad to use syck_load function when
* Setting this to true will force YAMLLoad to use syck_load function when
* possible. False by default.
* @var bool
*/
Expand Down
4 changes: 2 additions & 2 deletions slic.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Products local testing environment

The purpose of this environemt is to provide Products developers with a local testing environment that is identical to the one running in CI.
The purpose of this environment is to provide Products developers with a local testing environment that is identical to the one running in CI.
The same local testing environment *can be* used as a local development, but that is not its main goal.

The entrypoint to anything you will need to do will be the `slic` binary, located in the root directory.
Expand Down Expand Up @@ -131,7 +131,7 @@ Please refer to your IDE of choice to know how to set up these values.

> Note if you cannot set the above values in your "IDE", then your "IDE" is not an "IDE": it's a powerful and cute text editor.

When you are done with debuggin and want to deactivate it, just run this command:
When you are done with debugging and want to deactivate it, just run this command:

```bash
slic xdebug off
Expand Down
2 changes: 1 addition & 1 deletion src/commands/here.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Sets the directory target operations directory.
* The directory could be a WordPress installation directory, the one containig the `wp-config.php` file,
* The directory could be a WordPress installation directory, the one containing the `wp-config.php` file,
* a themes directory or a plugins directory.
*
* @var string $run_settings_file The absolute path to the file that should be used to load runtime settings.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Codeception allows specifying an additional configuration file to load with the `-c`, or `--config` option.
* Since the `codeception.dist.yml` and `codeception.yml` files will always be loaded if they exist, here we set up
* the command to load the slic configuration file (`coeception.slic.yml`) if it exists.
* Note: we cannot use `-o "params: .env.testing.slic"` to load slic env file as the `params` key is not overrideable
* Note: we cannot use `-o "params: .env.testing.slic"` to load slic env file as the `params` key is not overridable
* if not using a file; so we scaffold a slic-specific Codeception configuration file to get around it in the `init`
* command.
* See the `init` command for more details.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/target.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Handles the execution of the `target` command.
*
* @packag StellarWP\Slic
* @package StellarWP\Slic
*/

namespace StellarWP\Slic;
Expand Down
4 changes: 2 additions & 2 deletions src/process.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function check_status_or( callable $process, callable $else = null ) {
*/
function parallel_process( $pool ) {
$process_children = [];
// Start on the upper end of hte subnets to try and avoid overlapping pool issues.
// Start on the upper end of the subnets to try and avoid overlapping pool issues.
$subnet_pool = array_rand( array_flip( range( 220, 255 ) ), count( $pool ) );
$pool_with_subnet = array_combine( $subnet_pool, $pool );

Expand Down Expand Up @@ -335,7 +335,7 @@ function get_status_of_forked_children( array $children = [] ) {
}

/**
* A function that will `exit` or `return` the status depending on the current OS supprt of the Process Control
* A function that will `exit` or `return` the status depending on the current OS support of the Process Control
* extension.
*
* The function will `exit` on OSes that do support the Process Control extension.
Expand Down