Setting up PHPUnit using Composer is an option that is available since composer 3.7.5. Older 3.7 versions aren’t considered stable to use this way. I needed to have PHPUnit to run tests in my PHPStorm environment, and I didn’t want to do it by hand or struggle with PEAR on my local server. Composer is a good and easy alternative.
I assume you have installed Composer using the Windows installer found here
Just run the following command to get composer to install PHPUnit globally, for all the projects, and not just this one:
composer global require “phpunit/phpunit=3.7.*”
After that, go to your environment variables, and append the Composer folder to the end of the ‘PATH’ variable :
The demise of Google Reader has been a good thing. First of all, it got RSS readers back into the limelight. Second, Google Reader being backed by Google, most people didn’t see it viable to try and develop competition against a Google service. In economics, that’s called a monopoly, and everyone agrees that monopolies stink.
To combat a monopoly, or the dreaded ‘vendor lock-in’ as it is called as well, you need standard data structures to export the relevant info from one service to another. OPML is the format that most RSS feed readers use to store your subscriptions.
Getting your OPML data from Feedly is not hard, but it’s not intuitive where to find the link to click. I had to look for it, so I thought I’d mention it here to save someone else the trouble. Continue reading →
If you have multiple PHP configurations on the same system, while at the same time using the command-line interface and a web interface, it can be useful to be able to find out which .ini file is being used at that time in that situation. Continue reading →
Max Gaming is running a kickstarter campaign to fund the port of the Torque2D MIT game engine to Android. Multi-platform support is more and more a requirement these days, especially for a 2D engine geared at developing casual indie games.
Max Gaming pledged also that they will work on the Linux version of this engine. That isn’t such a bad idea, as Android is in its core Linux-based, so both systems should be similar in their core.
Have a look at the Kickstarter campaign, pledge generously and get your friends to do as well! There is still a long way to go.
When attending a lunch seminar yesterday there was a very interesting short discussion about thhe use of WYSIWYG editors in CMS-powered websites. The whole discussion was about the amount of options and functionalities you can allow your site editors, keeping into account that your layout nowadays has to adapt itself to a multitude of different screen sizes and orientations.
This is a discussion we need to have in ImpressCMS, as we currently allow as much as possible to the editor. By doing that, we risk breaking the layout of the theme simply by entering content, and that shouldn’t be allowed. Read the blog, and add your comments at the ImpressCMS Community site.
Ik gebruik de laatste tijd meer en meer PHPStorm, doordat we bij ImpressCMS een Open Source licentie hebben kunnen bemachtigen bij Jetbrains. PHPStorm biedt ondersteuning voor PHPUnit, waardoor ik die wilde installeren op mijn huidige Windows systeem. Dat loopt niet altijd van een leien dakje
PHPUnit maakt gebruik van PEAR, maar die installatie heeft wat zorg nodig. Bij installatie van PHPUnit 3.6.10 onder XAMPP kreeg ik constand de melding:
The ImpressCMS project had migrated to sourceforge.net when we got fed up with the low availability of the cvsdude (now codesion) service. We had had a very good experience at the beginning, but all of a sudden, major migration were done unscheduled, and because we were an open source project, we could only get mail-based support, and low-availability servers.
It turned out later that CVSDude was in the process of being bought, so in hindsight we could have seen it coming.
To be honest, the trac instance provided by sourceforge has never worked really well.
login to sourceforge shell
make a clone of your repository
create the dump file: svnadmin dump /svnroot/PROJECT/ > svndump
Managing your SVN repos with adminrepo : https://sourceforge.net/apps/trac/sourceforge/wiki/SVN%20adminrepo
loggin on to the Sf.net shell: https://sourceforge.net/apps/trac/sourceforge/wiki/Shell%20service