mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-31 00:59:53 +02:00
Fix highlighter consistency
- in some places php would not be highlighted as the `<?php` tag was missing - in one place there was a duplicate `<?php` tage - replaced `bash` with `console` for better highlighting - ensured all console snippets are wrapped within highlighting code - wrapped ini examples in highlighting code
This commit is contained in:
@@ -27,8 +27,10 @@ have an apt ``php-pear`` package.
|
||||
|
||||
If the package is listed on the [PEAR packages list][3], you can install it by specifying the official name:
|
||||
|
||||
{% highlight console %}
|
||||
pear install foo
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
If the package is hosted on another channel, you need to `discover` the channel first and also specify it when
|
||||
installing. See the [Using channel docs][4] for more information on this topic.
|
||||
|
||||
@@ -71,6 +73,7 @@ available through the Composer autoloader:
|
||||
To use this PEAR package simply reference it like so:
|
||||
|
||||
{% highlight php %}
|
||||
<?php
|
||||
$request = new pear2\HTTP\Request();
|
||||
{% endhighlight %}
|
||||
|
||||
|
Reference in New Issue
Block a user